package com.zjdiepu.www.service.partner;

import com.diepu.www.client.proxy.hzicbc.request.CreditResultRequest;
import com.diepu.www.client.proxy.hzicbc.request.ObtainFileListRequest;
import com.diepu.www.client.proxy.partner.common.ObtainFileListResponse;
import com.diepu.www.client.proxy.partner.request.own.DiepuIcbcQryMarginRequest;
import com.zjdiepu.www.security.exception.BasePartnerException;

public interface IcbcApiService {

	/**
	 * 任务描述
	 * 对应表【M_tranfer_cxfxzbjye】
	 * 杭州工行对应的银行编码是【ICBC】，接口接收到信息后更新【M_tranfer_cxfxzbjye】，如果杭州工行原先已经存在数据，将原先数据状态设置为 dp_status = 3；写入新的信息；
	 * @param diepuIcbcQryMarginRequest
	 * @return
	 * @throws BasePartnerException
	 */
	boolean diepuIcbcQryMargin(DiepuIcbcQryMarginRequest diepuIcbcQryMarginRequest) throws BasePartnerException;
	
	
	/**
	 * 征信结果返回接口
	 * @param creditResultRequest
	 * @return
	 * @throws BasePartnerException
	 */
	boolean creditResult(CreditResultRequest creditResultRequest) throws BasePartnerException; 
	
	/**
	 * 只有的 从主程序获取附件列表 的定时任务
	 * @param obtainFileListRequest
	 * @return
	 * @throws BasePartnerException
	 */
	ObtainFileListResponse obtainFileList(ObtainFileListRequest obtainFileListRequest) throws BasePartnerException; 
}
